#ifndef MAP_DATA_H
#define MAP_DATA_H

struct MapData {
	unsigned short tileSetBmpWidth;
	unsigned short tileSetBmpHeight;
	unsigned short tileWidth;
	unsigned short tileHeight;
	unsigned short horizontalTileCount;
	unsigned short verticalTileCount;
	unsigned short transparentPosX;
	unsigned short transparentPosY;
	unsigned short mapWidth;
	unsigned short mapHeight;
};

namespace BoundMask {

enum {
	NONE			= 0x00,
	UPPER			= 0x01,
	LEFT			= 0x02,
	LOWER			= 0x04,
	RIGHT			= 0x08,
	DIAGONAL_FLAG	= 0x80,
	DIAGONAL_DIR	= 0x01 //Diagonal direction: 0=/, 1=\ 
};

}
#endif //MAP_DATA_H
